package com.phrp.service;

import com.phrp.entity.User;
import com.phrp.util.returnResult.ResponseResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ssc
 * @since 2024-05-05
 */
public interface UserService extends IService<User> {


    ResponseResult getCode(String phone);

    ResponseResult register(HashMap<String, String> map);

    User getByPhone(String phone);
}
